Platform Explorer / Nuxeo Platform 2023.21

Operation Audit.Query (Query Audit Service)

Description

Execute a JPA query against the Audit Service. This is returning a blob with the query result. The result is a serialized JSON array. You can use the context to set query variables but you must prefix using 'audit.query.' the context variable keys that match the ones in the query.
Operation id Audit.Query
Category Services
Label Query Audit Service
Requires
Since

Parameters

Name Description Type Required Default value
query string yes  
maxResults int no  
pageNo int no  

Signature

Inputs void
Outputs blob

Implementation Information

Implementation Class Class: org.nuxeo.ecm.automation.core.operations.services.AuditQuery
Contributing Component org.nuxeo.ecm.core.automation.features.operations

JSON Definition

{
  "id" : "Audit.Query",
  "label" : "Query Audit Service",
  "category" : "Services",
  "requires" : null,
  "description" : "Execute a JPA query against the Audit Service. This is returning a blob with the query result. The result is a serialized JSON array. You can use the context to set query variables but you must prefix using 'audit.query.' the context variable keys that match the ones in the query.",
  "url" : "Audit.Query",
  "signature" : [ "void", "blob" ],
  "params" : [ {
    "name" : "query",
    "description" : null,
    "type" : "string",
    "required" : true,
    "widget" : "TextArea",
    "order" : 0,
    "values" : [ ]
  }, {
    "name" : "maxResults",
    "description" : null,
    "type" : "int",
    "required" : false,
    "widget" : null,
    "order" : 0,
    "values" : [ ]
  }, {
    "name" : "pageNo",
    "description" : null,
    "type" : "int",
    "required" : false,
    "widget" : null,
    "order" : 0,
    "values" : [ ]
  } ]
}